package com.atguigu.spring.demo04.service.impl;

import com.atguigu.spring.demo04.dao.StuDao;
import com.atguigu.spring.demo04.service.api.StuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("bigPigHeader")
public class StuServiceImpl implements StuService {

    @Autowired
    private StuDao stuDao;

    public void showMessage() {
        stuDao.showMessage();
    }
}
